Skip to content

feat(services): add solution remove and re-add project during rename#26

Closed
CalvinAllen wants to merge 1 commit into
mainfrom
feat/solution/remove-readd-project
Closed

feat(services): add solution remove and re-add project during rename#26
CalvinAllen wants to merge 1 commit into
mainfrom
feat/solution/remove-readd-project

Conversation

@CalvinAllen

Copy link
Copy Markdown
Contributor

Summary

  • Adds RenameProjectFile method to rename .csproj file on disk
  • Adds RenameParentDirectoryIfMatches method to rename project directory when it matches the old project name
  • Updates RenameProject command to remove project from solution before file operations
  • Re-adds project to solution with the new path after rename completes

Test plan

  • Rename a project and verify the .csproj file is renamed on disk
  • Verify parent directory is renamed if it matches the old project name
  • Verify project is removed from solution during rename and re-added after
  • Verify project still loads correctly in solution after rename

Closes #20, closes #21, closes #22

- Add RenameProjectFile method to rename .csproj file on disk
- Add RenameParentDirectoryIfMatches method to rename project directory
- Update RenameProject to remove project from solution before file operations
- Re-add project to solution with new path after rename

Closes #20, closes #21, closes #22
@CalvinAllen

Copy link
Copy Markdown
Contributor Author

Closing - changes were incorrectly combined. Will create separate PRs.

@CalvinAllen CalvinAllen deleted the feat/solution/remove-readd-project branch December 20, 2025 16:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

1 participant